package com.bwie.pojo.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
/**
 * @ 挂号实体类
 * @descriptions: UserPo
 * @author: LiYang
 * @date: 2025/3/14 10:11
 * @version: 1.0
 */
@Data
public class RegistrationPo implements Serializable {
    //挂号id
    private Integer registrationId;
    //就诊类型 0-初诊1-复诊
    private Integer registrationType;
    //性别 0-女1-男
    private Integer sex;
    //患者姓名
    private String patientName;
    //手机号码
    private String phoneNumber;
    //出生日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date birthDate;
    //身份证号
    private String idCard;
    //年龄
    private Integer age;
    //科室id
    private Integer departmentId;
    //医生id
    private Integer uid;
    //挂号状态 0-待诊1-已诊2-退号
    private Integer state;
    //退号原因
    private String remark;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    private Integer consultationStatus;
    /**
     * 图片
     */
    private String imgUrl;
}
